package com.doubleview.commons;

import cn.hutool.core.lang.Validator;
import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.ReUtil;
import cn.hutool.extra.validation.ValidationUtil;
import cn.hutool.http.HttpUtil;
import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONObject;
import cn.hutool.json.JSONUtil;

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Map;

/**
 * @author huchengchao <huchengchao@kuaishou.com>
 * Created on 2023-05-22
 */
public class Test {


    private static int calculateFeeAmount(long amount, double feeRate) {
        int feeAmount = (int) (amount * feeRate);
        return feeAmount;
    }

    private static int calculateFeeAmount1(long amount, double feeRate) {
        return NumberUtil.mul(BigDecimal.valueOf(amount), BigDecimal.valueOf(feeRate)).intValue();
    }

    public static void main(String[] args) {

        JSONArray array = JSONUtil.parseArray("[{\"name\":\"NEGATIVE_PAY_TICKET\",\"code\":\"negativePayTicket\",\"codeName\":\"违约金罚单扣款\",\"desc\":\"违约金罚单扣款\",\"fundsReceiptBizType\":\"NEGATIVE_PAY_TICKET\",\"transferMerchantPenalty\":\"TRANSFER_MERCHANT_PENALTY\",\"transferMerchantPenaltyReturn\":\"TRANSFER_MERCHANT_PENALTY_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoRevoke\":true,\"thresholdCheck\":true,\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\",\"WALLET-RECEIVER-PINGAN\",\"WALLET-RECEIVER-KSPAY\",\"DEPOSIT-RECEIVER-SHOP\",\"DEPOSIT-SELLER-PROMOTE\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\",\"WALLET-RECEIVER-KSPAY\",\"DEPOSIT-RECEIVER-SHOP\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\",\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-PROMOTE\"]},\"deductConfig\":{\"WALLET\":{\"partial\":\"true\",\"amountCeilingThreshold\":\"1000000000\"},\"DEPOSIT\":{\"partial\":\"true\",\"amountCeilingThreshold\":\"1000000000\"}}},{\"name\":\"INVOICE_BILL_PAY_TAX\",\"code\":\"invoiceBillPayTax\",\"codeName\":\"平台补贴发票违约金扣款\",\"desc\":\"平台补贴发票违约金扣款\",\"fundsReceiptBizType\":\"INVOICE_BILL_PAY_TAX\",\"transferMerchantPenalty\":\"SUBSIDY_INVOICE_PENALTY\",\"transferMerchantPenaltyReturn\":\"SUBSIDY_INVOICE_PENALTY_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"legoBatchCreateCode\":\"5\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"PAY_AFTER_FEE\",\"code\":\"payAfterFee\",\"codeName\":\"先用后付服务费缴费\",\"desc\":\"先用后付服务费缴费\",\"fundsReceiptBizType\":\"PAY_AFTER_FEE\",\"transferMerchantPenalty\":\"TRANSFER_SERVICE_FEE\",\"transferMerchantPenaltyReturn\":\"TRANSFER_SERVICE_FEE_RETURN\",\"receiptType\":\"COLLECTION\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"ALI_PAY_AFTER_FEE\",\"code\":\"alipayAfterFee\",\"codeName\":\"先用后付服务费缴费\",\"desc\":\"先用后付服务费缴费\",\"transferMerchantPenalty\":\"TRANSFER_SERVICE_FEE\",\"transferMerchantPenaltyReturn\":\"TRANSFER_SERVICE_FEE_RETURN\",\"receiptType\":\"COLLECTION\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"REFUND_FAIL_AUTO\",\"code\":\"refundFailAuto\",\"codeName\":\"售后平台垫付退款资金追回\",\"desc\":\"平台垫付退款资金追回\",\"fundsReceiptBizType\":\"REFUND_FAIL_AUTO\",\"transferMerchantPenalty\":\"REFUND_FAIL_AUTO\",\"transferMerchantPenaltyReturn\":\"REFUND_FAIL_AUTO_RETURN\",\"platformBudgetAccount\":\"TKSBXSZDT\",\"receiptType\":\"COLLECTION\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"TP_SELLER_DUTY_CLAIMANT\",\"code\":\"tpSellerDutyClaimant\",\"codeName\":\"售后商责退运费平台追缴\",\"desc\":\"商责退运费\",\"fundsReceiptBizType\":\"TP_SELLER_DUTY_CLAIMANT\",\"transferMerchantPenalty\":\"PAY_FREIGHT\",\"transferMerchantPenaltyReturn\":\"PAY_FREIGHT_RETURN\",\"platformBudgetAccount\":\"SHANGZEYUNFEIDIANFU\",\"receiptType\":\"COLLECTION\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"TP_SELLER_DUTY_CLAIMANT_PLAT_BIZ\",\"code\":\"tpSellerDutyClaimantPlatBiz\",\"codeName\":\"售后商责退运费平台追缴垫资\",\"desc\":\"商责退运费-垫资追回\",\"transferMerchantPenalty\":\"PAY_FREIGHT\",\"transferMerchantPenaltyReturn\":\"PAY_FREIGHT_RETURN\",\"receiptType\":\"COLLECTION\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"SUBSIDY_TAKE_BACK\",\"code\":\"subsidyTakeBack\",\"codeName\":\"售后平台补贴追回\",\"desc\":\"平台补贴追回\",\"fundsReceiptBizType\":\"SUBSIDY_TAKE_BACK\",\"transferMerchantPenalty\":\"SUBSIDY_TAKE_BACK\",\"transferMerchantPenaltyReturn\":\"SUBSIDY_TAKE_BACK_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoCreate\":true,\"legoBatchCreateCode\":\"6\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"OVER_INSURED_FREEZE_CLAIMANT\",\"code\":\"overInsuredFreezeClaimant\",\"codeName\":\"售后超售后期退款赔付\",\"desc\":\"快手小店退款-超售后期\",\"fundsReceiptBizType\":\"OVER_INSURED_FREEZE_CLAIMANT\",\"transferMerchantPenalty\":\"OVER_INSURED_AUTO\",\"transferMerchantPenaltyReturn\":\"OVER_INSURED_AUTO_RETURN\",\"receiptType\":\"FREEZE_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"OVER_INSURED_CLAIMANT_RECEIVER\",\"code\":\"overInsuredClaimantReceiver\",\"codeName\":\"售后超售后期退款赔付(主播部分)\",\"desc\":\"快手小店退款-超售后期\",\"receiptType\":\"FREEZE_CLAIMANT_RECEIVER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"COUPON_CLAIM_RETRIEVE\",\"code\":\"couponClaimRetrieve\",\"codeName\":\"售后优惠券赔付追缴\",\"desc\":\"快手商品赔付-赔券扣款\",\"fundsReceiptBizType\":\"COUPON_CLAIM_RETRIEVE\",\"transferMerchantPenalty\":\"CLAIMANT_PLAT_TAKE_BACK\",\"transferMerchantPenaltyReturn\":\"CLAIMANT_PLAT_TAKE_BACK_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"legoBatchCreateCode\":\"11\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\",\"DEPOSIT-SELLER-PROMOTE\"]},\"deductMqTag\":\"LARGE\"},{\"name\":\"OVER_INSURED_FREEZE\",\"code\":\"overInsuredFreeze\",\"codeName\":\"售后超售后期退款冻结\",\"desc\":\"快手小店退款-超售后期\",\"fundsReceiptBizType\":\"OVER_INSURED_FREEZE\",\"transferMerchantPenalty\":\"UNKNOWN\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"FREEZE\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"OVER_INSURED_UNFREEZE\",\"code\":\"overInsuredUnfreeze\",\"codeName\":\"售后超售后期退款解冻\",\"desc\":\"快手小店退款-超售后期\",\"fundsReceiptBizType\":\"OVER_INSURED_UNFREEZE\",\"transferMerchantPenalty\":\"UNKNOWN\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"UNFREEZE\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"TRADER_SETTLE_FUND_TRANSFER\",\"code\":\"traderSettleFundTransfer\",\"codeName\":\"操盘手服务商结算资金转账\",\"desc\":\"服务商操盘活动转账\",\"fundsReceiptBizType\":\"TRADER_SETTLE_FUND_TRANSFER\",\"transferMerchantPenalty\":\"TRANSFER_CASH_ROYALTY\",\"transferMerchantPenaltyReturn\":\"TRANSFER_CASH_ROYALTY_RETURN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]},\"deductConfig\":{\"WALLET\":{\"partial\":\"true\",\"amountCeilingThreshold\":\"1000000000\"}}},{\"name\":\"TP_SELLER_DUTY_DIRECT_BUYER_CLAIMANT\",\"code\":\"tpSellerDutyDirectBuyerClaimant\",\"codeName\":\"售后商责退运费卖家赔给买家\",\"desc\":\"商责退运费\",\"fundsReceiptBizType\":\"TP_SELLER_DUTY_DIRECT_BUYER_CLAIMANT\",\"transferMerchantPenalty\":\"PAY_FREIGHT\",\"transferMerchantPenaltyReturn\":\"PAY_FREIGHT_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"OVER_INSURED_FULL_RETURN_CLAIMANT\",\"code\":\"overInsuredFullReturnClaimant\",\"codeName\":\"超售后期冻结赔付平台(满返补贴部分)\",\"desc\":\"超售后期-满返平台补贴追回\",\"fundsReceiptBizType\":\"OVER_INSURED_FULL_RETURN_CLAIMANT\",\"walletClaimantScene\":\"DEDUCT_CASH_TO_PLATFORM\",\"receiptType\":\"FREEZE_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"OVER_INSURED_SUBSIDY_TAKE_BACK\",\"code\":\"overInsuredSubsidyTakeBack\",\"codeName\":\"超售后期补贴追回给平台\",\"desc\":\"超售后期-平台补贴追回\",\"fundsReceiptBizType\":\"OVER_INSURED_SUBSIDY_TAKE_BACK\",\"transferMerchantPenalty\":\"SUBSIDY_TAKE_BACK\",\"transferMerchantPenaltyReturn\":\"SUBSIDY_TAKE_BACK_RETURN\",\"receiptType\":\"COLLECTION\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"BUYER_FREIGHT_INSURANCE\",\"code\":\"buyerFreightInsurance\",\"codeName\":\"退货补运费补偿\",\"desc\":\"退货补运费补偿\",\"fundsReceiptBizType\":\"BUYER_FREIGHT_INSURANCE\",\"receiptType\":\"DEBT_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]},\"remainBalanceLimit\":-20000000000},{\"name\":\"AGREEMENT_CHARGE\",\"code\":\"agreementCharge\",\"codeName\":\"辛选年框扣费\",\"desc\":\"辛选年框扣费\",\"fundsReceiptBizType\":\"AGREEMENT_CHARGE\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoCreate\":true,\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\",\"WALLET-RECEIVER-KSPAY\"]},\"deductMqTag\":\"LARGE\"},{\"name\":\"FLASH_REFUND_ADVANCE_BUYER_CLAIMANT\",\"code\":\"flashRefundAdvanceBuyerClaimant\",\"codeName\":\"闪电退款-平台赔付买家\",\"desc\":\"闪电退款\",\"fundsReceiptBizType\":\"FLASH_REFUND_ADVANCE_BUYER_CLAIMANT\",\"platformClaimantScene\":\"LIGHTNING_REFUND\",\"receiptType\":\"PLATFORM_CLAIMANT\",\"deductRoute\":{\"PLATFORM\":[\"PLATFORM-BUYER-\"]}},{\"name\":\"FLASH_REFUND_ADVANCE_PAY_BUYER\",\"code\":\"flashRefundAdvancePayBuyer\",\"codeName\":\"闪电退款-买家支付单\",\"desc\":\"闪电退款\",\"fundsReceiptBizType\":\"FLASH_REFUND_ADVANCE_PAY_BUYER\",\"receiptType\":\"PAY\"},{\"name\":\"REMITTANCE_BUYER\",\"code\":\"remittanceBuyer\",\"codeName\":\"小额打款\",\"desc\":\"小额打款\",\"fundsReceiptBizType\":\"REMITTANCE_BUYER\",\"receiptType\":\"DIRECT_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"AHEAD_CLAIM_RETRIEVE\",\"code\":\"aheadClaimRetrieve\",\"codeName\":\"先行赔付\",\"desc\":\"快手商品赔付-现金补偿\",\"fundsReceiptBizType\":\"AHEAD_CLAIM_RETRIEVE\",\"receiptType\":\"DIRECT_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"DISTRIBUTION_INVOICE_BILL_PAY_TAX\",\"code\":\"distributionInvoiceBillPayTax\",\"codeName\":\"发票税损缴费\",\"desc\":\"发票税损缴费\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"RECEIVER\":[\"WALLET-RECEIVER-KSPAY\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-KSPAY\"]}},{\"name\":\"EXTREME_CARE\",\"code\":\"extremeCare\",\"codeName\":\"极致保障\",\"desc\":\"极致保障\",\"platformClaimantScene\":\"EXTREME_CARE\",\"receiptType\":\"PLATFORM_CLAIMANT\",\"deductRoute\":{\"PLATFORM\":[\"PLATFORM-BUYER-\"]}},{\"name\":\"PLATFORM_ADVANCE_PAY_TAKE_BACK\",\"code\":\"advancePayTakeBack\",\"codeName\":\"平台垫付快手商品赔付追回\",\"desc\":\"平台垫付快手商品赔付追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"legoBatchCreateCode\":\"1\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"AFTER_SALE_SELLER_DUTY_PENALTY_DEDUCT\",\"code\":\"sellerDutyPenaltyDeduct\",\"codeName\":\"售后商责/延迟发货等违约金扣款\",\"desc\":\"售后商责/延迟发货等违约金扣款\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"legoBatchCreateCode\":\"2\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"TR_ABNORMAL_SETTLEMENT_COMPENSATE_DEDUCT\",\"code\":\"trSettleCompensateDeduct\",\"codeName\":\"技术服务费结算异常补扣款\",\"desc\":\"技术服务费结算异常补扣款\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"legoBatchCreateCode\":\"3\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"DEPOSIT_DEDUCT_NO_SYSTEM_REFUND\",\"code\":\"depositDeductNoSystemRefund\",\"codeName\":\"扣减保证金非系统退款\",\"desc\":\"扣减保证金非系统退款\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"legoBatchCreateCode\":\"4\",\"deductRoute\":{\"SELLER\":[\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"DISTRIBUTION_TR_TAKE_BACK\",\"code\":\"distributionTrTakeBack\",\"codeName\":\"分销者TR后返追回\",\"desc\":\"TR后返追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoRevoke\":true,\"deductRoute\":{\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]},\"deductMqTag\":\"LARGE\"},{\"name\":\"SECOND_HAND_CAR_TR\",\"code\":\"secondHandCarTr\",\"codeName\":\"二手车行业TR收取\",\"desc\":\"二手车行业TR收取\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"PRE_SALE_EARNEST_MONEY_TAKE_BACK\",\"code\":\"preSaleEarnestMoneyTakeBack\",\"codeName\":\"定金预售定金追回\",\"desc\":\"定金预售定金追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoCreate\":true,\"supportLegoRevoke\":false,\"legoBatchCreateCode\":\"7\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"TAURUS_TAKE_BACK\",\"code\":\"taurusTakeBack\",\"codeName\":\"磁力金牛追回\",\"desc\":\"磁力金牛追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoCreate\":true,\"supportLegoRevoke\":false,\"legoBatchCreateCode\":\"8\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"ISTALLMENT_SERVICE_CHARGE\",\"code\":\"installmentServiceCharge\",\"codeName\":\"分期手续费\",\"desc\":\"分期手续费\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"legoBatchCreateCode\":\"9\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"TAURUS_RECHARGE_DEDUCT\",\"code\":\"taurusRechargeDeduct\",\"codeName\":\"磁力金牛充值扣款\",\"desc\":\"磁力金牛充值扣款\",\"transferMerchantPenalty\":\"TRANSFER_CASH_ROYALTY\",\"transferMerchantPenaltyReturn\":\"TRANSFER_CASH_ROYALTY_RETURN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"JULI_BOUNTY_TAKE_BACK\",\"code\":\"juliBountyTakeBack\",\"codeName\":\"聚力计划超售后期奖励金追回\",\"desc\":\"聚力计划超售后期奖励金追回\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"thresholdAccountType\":\"WALLET_DPAI\",\"deductRoute\":{\"RECEIVER\":[\"WALLET-RECEIVER-KSPAY\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-KSPAY\"]}},{\"name\":\"OVER_INSURED_CLAIMANT_TAKE_BACK\",\"code\":\"overInsuredClaimantTakeBack\",\"codeName\":\"超售后期补贴追回给平台\",\"desc\":\"超售后期-平台补贴追回\",\"walletClaimantScene\":\"DEDUCT_CASH_TO_PLATFORM\",\"receiptType\":\"FREEZE_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"COMMERCIALIZATION_TAKE_BACK\",\"code\":\"commercializationTakeBack\",\"codeName\":\"商业化金额追回\",\"desc\":\"商业化金额追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"supportLegoCreate\":true,\"supportLegoRevoke\":false,\"legoBatchCreateCode\":\"10\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"CASH_TAKE_BACK\",\"code\":\"cashTakeBack\",\"codeName\":\"现金奖励追回\",\"desc\":\"现金奖励追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"KS_COIN_TAKE_BACK\",\"code\":\"ksCoinTakeBack\",\"codeName\":\"快币奖励追回\",\"desc\":\"快币奖励追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"TR_TAKE_BACK\",\"code\":\"trTakeBack\",\"codeName\":\"TR后返奖励追回\",\"desc\":\"TR后返奖励追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"GOODS_BOUNS_TAKE_BACK\",\"code\":\"goodsBounsTakeBack\",\"codeName\":\"货补奖励追回\",\"desc\":\"货补奖励追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"LPPR_CLAIMANT_USER\",\"code\":\"lpprClaimantUser\",\"codeName\":\"主播实在宝-赔付买家\",\"desc\":\"主播实在宝-赔付买家\",\"receiptType\":\"DIRECT_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"LPPR_PLATFORM_CLAIMANT\",\"code\":\"lpprPlatformClaimant\",\"codeName\":\"主播实在宝-平台赔付买家\",\"desc\":\"主播实在宝-平台赔付买家\",\"platformClaimantScene\":\"REAL_HOST\",\"receiptType\":\"PLATFORM_CLAIMANT\",\"deductRoute\":{\"PLATFORM\":[\"PLATFORM-BUYER-\"]}},{\"name\":\"LPPR_CLAIMANT_PLATFORM\",\"code\":\"lpprClaimantPlatform\",\"codeName\":\"主播实在宝-赔付平台\",\"desc\":\"主播实在宝-赔付平台\",\"transferMerchantPenalty\":\"REAL_HOST\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"platformBudgetAccount\":\"ZHUBOSHIZAIBAO\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"LATE_DELIVERY_COPENSATION\",\"code\":\"lateDeliveryCompensation\",\"codeName\":\"晚发立赔\",\"desc\":\"晚发立赔\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoRevoke\":true,\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\",\"DEPOSIT-SELLER-PROMOTE\"]}},{\"name\":\"MARKETING_PLATFORM_RECHARGE\",\"code\":\"marketingPlatformRecharge\",\"codeName\":\"消费金平台出资充值\",\"desc\":\"消费金平台出资充值\",\"transferMerchantPenalty\":\"RECHARGE_BIZ_SUB_MERCHANT\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"PLATFORM\":[\"PLATFORM-SELLER-\"]}},{\"name\":\"MARKETING_PLATFORM_TAKE_BACK\",\"code\":\"marketingPlatformTakeBack\",\"codeName\":\"消费金平台出资回收\",\"desc\":\"消费金平台出资回收\",\"transferMerchantPenalty\":\"TAKE_BACK_BIZ_SUB_MERCHANT\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-KSPAY-MARKETING_PLATFORM\"]}},{\"name\":\"MEMBER_ACCOUNT_PINGAN_RECHARGE_PAY\",\"code\":\"memberAccountPinganRechargePay\",\"codeName\":\"安心钱包转账\",\"desc\":\"安心钱包转账\",\"transferMerchantPenalty\":\"TRANSFER_CASH_TO_BIZ_SMID\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"MEMBER_ACCOUNT_JULI_RECHARGE_PAY\",\"code\":\"memberAccountJuliRechargePay\",\"codeName\":\"聚力钱包转账\",\"desc\":\"聚力钱包转账\",\"transferMerchantPenalty\":\"TRANSFER_BIZ_SMID_TO_BIZ_SMID\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"RECEIVER\":[\"WALLET-RECEIVER-KSPAY-DPAI\"]}},{\"name\":\"OVER_INSURED_CLAIMANT_MARKETING\",\"code\":\"overInsuredClaimantMarketing\",\"codeName\":\"售后超售后期退款赔付消费金\",\"desc\":\"快手小店退款-超售后期\",\"transferMerchantPenalty\":\"OVER_INSURED_AUTO\",\"transferMerchantPenaltyReturn\":\"OVER_INSURED_AUTO_RETURN\",\"claimantType\":\"CLAIMANT_BOOK_BALANCE\",\"walletClaimantType\":\"BOOK_BALANCE\",\"receiptType\":\"FREEZE_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"OVER_INSURED_CLAIMANT_MARKETING_ONLY\",\"code\":\"overInsuredClaimantMarketingOnly\",\"codeName\":\"售后超售后期退款赔付消费金(只赔付预存类膨胀金)\",\"desc\":\"快手小店退款-超售后期\",\"transferMerchantPenalty\":\"RECHARGE_REDUCE_EXPAND_TO_BUYER\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"PLATFORM-BUYER-\"]}},{\"name\":\"REFUND_FAIL_AUTO_BUYER_CLAIMANT\",\"code\":\"refundFailAutoBuyerClaimant\",\"codeName\":\"退款失败平台垫付\",\"desc\":\"退款失败平台垫付\",\"platformClaimantScene\":\"REFUND_FAIL_AUTO\",\"receiptType\":\"PLATFORM_CLAIMANT\",\"deductRoute\":{\"PLATFORM\":[\"PLATFORM-BUYER-\"]}},{\"name\":\"SELLER_DUTY_BREACH_CLAIMANT\",\"code\":\"sellerDutyBreachClaimant\",\"codeName\":\"晚发立赔-售后商责/延迟发货等违约金扣款\",\"desc\":\"晚发立赔-售后商责/延迟发货等违约金扣款\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoRevoke\":true,\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\",\"DEPOSIT-SELLER-PROMOTE\"]}},{\"name\":\"SELLER_DUTY_BREACH_CLAIMANT2\",\"code\":\"sellerDutyBreachClaimant2\",\"codeName\":\"晚揽立赔平台追回\",\"desc\":\"晚揽立赔平台追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoRevoke\":true,\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\",\"DEPOSIT-SELLER-PROMOTE\"]}},{\"name\":\"DEPOSIT_SHOP_RECHARGE_PAY\",\"code\":\"depositShopRechargePay\",\"codeName\":\"店铺保证金充值\",\"desc\":\"安心钱包转到店铺保证金（主动充值）\",\"fundsReceiptBizType\":\"DEPOSIT_SHOP_RECHARGE_PAY\",\"transferMerchantPenalty\":\"TRANSFER_MERCHANT_DEPOSIT\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"]}},{\"name\":\"CS_RETAIN_ORDER_FREEZE\",\"code\":\"csRetainOrderFreeze\",\"codeName\":\"用户退款挽单-现金补偿(冻结)\",\"desc\":\"用户退款挽单-现金补偿\",\"thresholdCheck\":true,\"receiptType\":\"FREEZE\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"CS_RETAIN_ORDER_UNFREEZE\",\"code\":\"csRetainOrderUnFreeze\",\"codeName\":\"用户退款挽单-现金补偿(解冻)\",\"desc\":\"用户退款挽单-现金补偿\",\"receiptType\":\"UNFREEZE\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"CS_RETAIN_ORDER_FREEZE_CLAIMANT\",\"code\":\"csRetainOrderFreezeClaimant\",\"codeName\":\"用户退款挽单-现金补偿(赔付)\",\"desc\":\"用户退款挽单-现金补偿\",\"receiptType\":\"FREEZE_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"COMMERCIAL_BROKER_SERVICE\",\"code\":\"commercialBrokerService\",\"codeName\":\"商业化代理商回款\",\"desc\":\"商业化代理商回款\",\"transferMerchantPenalty\":\"TRANSFER_CASH_ROYALTY\",\"transferMerchantPenaltyReturn\":\"TRANSFER_CASH_ROYALTY_RETURN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]},\"deductConfig\":{\"WALLET\":{\"partial\":\"true\",\"amountCeilingThreshold\":\"1000000000\"}}},{\"name\":\"REFUND_FULL_RETURN_CLAIMANT\",\"code\":\"refundFullReturnClaimant\",\"codeName\":\"订单退款-用户满返补贴追回\",\"desc\":\"订单退款-用户满返补贴追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLAT_BIZ\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"platformBudgetAccount\":\"CROSS_SHOP_FULL_RETURN\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"REFUND_FULL_RETURN_CLAIMANT2\",\"code\":\"refundFullReturnClaimant2\",\"codeName\":\"订单退款-用户满返补贴追回(下单返现)\",\"desc\":\"订单退款-用户满返补贴追回(下单返现)\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLAT_BIZ\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"platformBudgetAccount\":\"HUOYUE_XDFXJ\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"FLASH_REFUND_ADVANCE_SELLER_CLAIMANT\",\"code\":\"flashRefundAdvanceSellerClaimant\",\"codeName\":\"闪电退-平台垫付退款资金追回\",\"desc\":\"闪电退-平台垫付退款资金追回\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLAT_BIZ\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"platformBudgetAccount\":\"SDTK\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"PRODUCT_INFO_SERVICE_FEE\",\"code\":\"productInfoServiceFee\",\"codeName\":\"厂货严选综合信息服务费\",\"desc\":\"厂货严选综合信息服务费\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"COLLECTION\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"]}},{\"name\":\"PREMIUM_RECHARGE_PAY\",\"code\":\"premiumRechargePay\",\"codeName\":\"运费险充值\",\"desc\":\"安心钱包转到运费险（主动充值）\",\"transferMerchantPenalty\":\"TRANSFER_MERCHANT_PREMIUM\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"]}},{\"name\":\"TIME_OUT_FREIGHT_DEDUCT\",\"code\":\"timeoutFreightDeduct\",\"codeName\":\"在线寄件商家超时待支付运费扣款\",\"desc\":\"在线寄件商家超时待支付运费扣款\",\"transferMerchantPenalty\":\"TRANSFER_MERCHANT_PENALTY\",\"transferMerchantPenaltyReturn\":\"TRANSFER_MERCHANT_PENALTY_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"legoBatchCreateCode\":\"12\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"RECEIVER_DEPOSIT_RECHARGE_PAY\",\"code\":\"receiverDepositRechargePay\",\"codeName\":\"达人保证金充值\",\"desc\":\"安心钱包转到达人保证金（主动充值）\",\"transferMerchantPenalty\":\"TRANSFER_MERCHANT_DEPOSIT\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"PLATFORM_CLAIMANT_SELLER\",\"code\":\"platformClaimantSeller\",\"codeName\":\"平台赔付商家\",\"desc\":\"平台赔付商家\",\"transferMerchantPenalty\":\"TRANSFER_PLAT_BIZ_TO_CASH\",\"transferMerchantPenaltyReturn\":\"TRANSFER_PLAT_BIZ_TO_CASH_RETURN\",\"receiptType\":\"TRANSFER\",\"platformBudgetAccount\":\"TOB_CASH20231226\",\"deductRoute\":{\"PLATFORM\":[\"PLATFORM-SELLER-\"]}},{\"name\":\"TRADE_IN_SUBSIDY\",\"code\":\"tradeInSubsidy\",\"codeName\":\"以旧换新补贴返现\",\"desc\":\"以旧换新补贴返现\",\"receiptType\":\"DIRECT_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"TRADE_IN_CASH_BACK\",\"code\":\"tradeInCashBack\",\"codeName\":\"回收货款返现\",\"desc\":\"回收货款返现\",\"receiptType\":\"DIRECT_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"TRADE_IN_SERVICE_FEE\",\"code\":\"tradeInServiceFee\",\"codeName\":\"旧机回收技术服务费扣费\",\"desc\":\"旧机回收技术服务费扣费\",\"transferMerchantPenalty\":\"DEDUCT_CASH_TO_PLATFORM\",\"transferMerchantPenaltyReturn\":\"DEDUCT_CASH_TO_PLATFORM_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"MARKETING_RECHARGE_PAY\",\"code\":\"salesMarketingRechargePay\",\"codeName\":\"营销钱包充值\",\"desc\":\"安心钱包转到营销钱包（主动充值）\",\"transferMerchantPenalty\":\"TRANSFER_CASH_TO_BIZ_SMID\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"]}},{\"name\":\"MARKETING_EVALUATE_FREEZE\",\"code\":\"marketingEvaluateFreeze\",\"codeName\":\"营销钱包冻结\",\"desc\":\"营销钱包冻结-评价有礼\",\"receiptType\":\"FREEZE\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"MARKETING_EVALUATE_UNFREEZE\",\"code\":\"marketingEvaluateUnfreeze\",\"codeName\":\"营销钱包解冻\",\"desc\":\"营销钱包解冻-评价有礼\",\"receiptType\":\"UNFREEZE\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"MARKETING_EVALUATE_FREEZE_CLAIMANT\",\"code\":\"marketingEvaluateFreezeClaimant\",\"codeName\":\"营销钱包评价返现\",\"desc\":\"评价有礼-商家返现\",\"receiptType\":\"FREEZE_CLAIMANT\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"TRADE_IN_RECYCLE_FREEZE\",\"code\":\"tradeInRecycleFreeze\",\"codeName\":\"以旧换新回收款抵扣冻结\",\"desc\":\"以旧换新回收款抵扣冻结\",\"receiptType\":\"FREEZE\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"TRADE_IN_RECYCLE_UNFREEZE\",\"code\":\"tradeInRecycleUnFreeze\",\"codeName\":\"以旧换新回收款抵扣解冻\",\"desc\":\"以旧换新回收款抵扣解冻\",\"receiptType\":\"UNFREEZE\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"TRADE_IN_RECYCLE_FREEZE_DEDUCT\",\"code\":\"tradeInRecycleFreezeDeduct\",\"codeName\":\"以旧换新回收款抵扣扣款\",\"desc\":\"以旧换新回收款抵扣扣款\",\"receiptType\":\"FREEZE_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"MARKETING-SELLER-KSPAY-SALES_MARKETING\"]}},{\"name\":\"TRADE_IN_BUYER_CLAIMANT\",\"code\":\"tradeInBuyerClaimant\",\"codeName\":\"以旧换新回收款抵扣打款\",\"desc\":\"以旧换新回收款抵扣打款\",\"platformClaimantScene\":\"TRADE_IN_RECYCLE\",\"receiptType\":\"PLATFORM_CLAIMANT\",\"deductRoute\":{\"PLATFORM\":[\"PLATFORM-BUYER-\"]}},{\"name\":\"MIXED_FUNDED_MERCHANT_DEDUCT\",\"code\":\"mixedFundedMerchantDeduct\",\"codeName\":\"混资平台券商家承担扣费\",\"desc\":\"混资平台券商家承担扣费\",\"transferMerchantPenalty\":\"TRANSFER_MERCHANT_PENALTY\",\"transferMerchantPenaltyReturn\":\"TRANSFER_MERCHANT_PENALTY_RETURN\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\",\"WALLET-RECEIVER-KSPAY\"]}},{\"name\":\"HAND_PAYMENT_FOR_WITHDRAW_FAIL\",\"code\":\"handPaymentForWithdrawFail\",\"codeName\":\"提现失败手工打款\",\"desc\":\"提现失败手工打款\",\"transferMerchantPenalty\":\"TRANSFER_MERCHANT_PENALTY\",\"transferMerchantPenaltyReturn\":\"TRANSFER_MERCHANT_PENALTY_RETURN\",\"receiptType\":\"COLLECTION\",\"supportLegoCreate\":true,\"supportLegoRevoke\":true,\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"],\"HEADER_RECEIVER\":[\"WALLET-HEADER_RECEIVER-PINGAN\"],\"QUICK_RECEIVER\":[\"WALLET-QUICK_RECEIVER-PINGAN\"],\"PROVIDER\":[\"WALLET-PROVIDER-PINGAN\"]}},{\"name\":\"AFTER_SALES_COUPON_CLAIMANT\",\"code\":\"afterSalesCouponClaimant\",\"codeName\":\"售后-商家出资优惠券\",\"desc\":\"售后-商家出资优惠券\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"NORTHWEST_TRANSPORT_FREEZE\",\"code\":\"northwestTransportFreeze\",\"codeName\":\"集运扣款冻结\",\"desc\":\"集运扣款冻结\",\"receiptType\":\"FREEZE\",\"freezeType\":\"FREEZE_OPERATE\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"NORTHWEST_TRANSPORT_UNFREEZE\",\"code\":\"northwestTransportUnfreeze\",\"codeName\":\"集运扣款解冻\",\"desc\":\"集运扣款解冻\",\"receiptType\":\"UNFREEZE\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"NORTHWEST_TRANSPORT_DEDUCT\",\"code\":\"northwestTransportDeduct\",\"codeName\":\"集运扣款\",\"desc\":\"集运扣款\",\"receiptType\":\"FREEZE_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"]}},{\"name\":\"NORTHWEST_TRANSPORT_CLAIMANT\",\"code\":\"northwestTransportClaimant\",\"codeName\":\"集运赔付\",\"desc\":\"集运赔付\",\"transferMerchantPenalty\":\"TRANSFER_PLAT_BIZ_TO_CASH\",\"transferMerchantPenaltyReturn\":\"TRANSFER_PLAT_BIZ_TO_CASH_RETURN\",\"receiptType\":\"TRANSFER\",\"platformBudgetAccount\":\"BUDGET_NORTHWEST\",\"deductRoute\":{\"PLATFORM\":[\"PLATFORM-SELLER-\"]}},{\"name\":\"MIXED_ISSUE_GOLD_COINS_FREEZE\",\"code\":\"mixedIssueGoldCoinsFreeze\",\"codeName\":\"混资发放金币冻结\",\"desc\":\"混资发放金币冻结\",\"receiptType\":\"FREEZE\",\"freezeType\":\"FREEZE_OPERATE\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"MIXED_ISSUE_GOLD_COINS_UNFREEZE\",\"code\":\"mixedIssueGoldCoinsUnFreeze\",\"codeName\":\"混资发放金币解冻\",\"desc\":\"混资发放金币解冻\",\"receiptType\":\"UNFREEZE\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"MIXED_ISSUE_GOLD_COINS_FREEZE_DEDUCT\",\"code\":\"mixedIssueGoldCoinsFreezeDeduct\",\"codeName\":\"混资发放金币扣款\",\"desc\":\"混资发放金币扣款\",\"receiptType\":\"FREEZE_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"MIXED_ISSUE_GOLD_COINS_DEDUCT\",\"code\":\"mixedIssueGoldCoinsDeduct\",\"codeName\":\"混资发放金币扣款\",\"desc\":\"混资发放金币扣款\",\"receiptType\":\"DIRECT_CLAIMANT_PLATFORM\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\",\"DEPOSIT-SELLER-${CROSSBORDER_SHOP}\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]},\"deductMqTag\":\"LARGE\"},{\"name\":\"RECEIVER_DEPOSIT_AUTO_RECHARGE_PAY\",\"code\":\"receiverDepositAutoRechargePay\",\"codeName\":\"达人保证金充值\",\"desc\":\"安心钱包转到达人保证金（自动充值）\",\"transferMerchantPenalty\":\"TRANSFER_MERCHANT_DEPOSIT\",\"transferMerchantPenaltyReturn\":\"UNKNOWN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}},{\"name\":\"COMMERCIAL_RECHARGE_DEDUCT\",\"code\":\"commercialRechargeDeduct\",\"codeName\":\"磁力金牛免密支付\",\"desc\":\"磁力金牛免密支付\",\"transferMerchantPenalty\":\"TRANSFER_CASH_ROYALTY\",\"transferMerchantPenaltyReturn\":\"TRANSFER_CASH_ROYALTY_RETURN\",\"receiptType\":\"TRANSFER\",\"deductRoute\":{\"SELLER\":[\"WALLET-SELLER-PINGAN\"],\"RECEIVER\":[\"WALLET-RECEIVER-PINGAN\"]}}]");

        for (int i = 0; i < array.size(); i++) {

            JSONObject obj = array.getJSONObject(i);
            System.out.println(obj.getStr("receiptType"));
        }


        Map<String, String> map = JSONUtil.toBean("{\"a\":\"b\",\"asdf\":1}", Map.class);
        System.out.println(map);
    }
}
